package treemodel;

import java.util.ArrayList;

/**
 * Created by Pavel Nikolaev
 */
public abstract class Unit implements Node {
    public void prepareForWrapping() {
        // no effect
    }

    public int countChildren() {
        return 0;
    }

    public Node getChild(int index) {
        return null;
    }

    public abstract ArrayList<Unit> breakToWords();
}
